package com.project.webpage.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.project.webpage.dto.*;
import com.project.webpage.mapper.XlgjdayMapper;
import com.project.webpage.service.XlgjdayService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class XlgjdayServiceImpl implements XlgjdayService {

    @Resource
    private XlgjdayMapper xlgjdayMapper;

    @Override
    @DS("master")
    public List<XlgjdayDto> getListForPage(SearchByRqParam param) {
        return xlgjdayMapper.selectListByUid(param);
    }

    @Override
    @DS("master")
    public List<XlgjdayDto> getListByJgxlidForPage(SearchByRqRangeParam param) {
        return xlgjdayMapper.selectListByJgxlid(param);
    }

    @Override
    @DS("master")
    public List<XlgfdayDto> getGaofengListForPage(SearchByRqParam param) {
        return xlgjdayMapper.selectGaofengListByUid(param);
    }

    @Override
    @DS("master")
    public List<XlgjdayDto> getGaofengListByJgxlidForPage(SearchByRqRangeParam param) {
        return xlgjdayMapper.selectGaofengListByJgxlid(param);
    }

    @Override
    @DS("master")
    public List<SmbzdlDto> getSmbzdlListForPage(SmbzdlParam param) {
        return xlgjdayMapper.selectSmbzdlListByUid(param);
    }

    @Override
    @DS("master")
    public List<SmbzdlDto> getSmbzdlListByJgxlidForPage(SearchByRqRangeParam param) {
        return xlgjdayMapper.selectSmbzdlListByJgxlid(param);
    }

    @Override
    @DS("master")
    public List<XlGuganDto> getGuganListForPage(SearchByRqParam param) {
        return xlgjdayMapper.selectGuganListByUid(param);
    }

    @Override
    @DS("master")
    public List<XlGuganDto> getGuganQyListForPage(SearchByRqParam param) {
        return xlgjdayMapper.selectGuganQyListByUid(param);
    }

    @Override
    @DS("master")
    public List<XlYylcDto> getYylcListForPage(SearchByRqParam param) {
        return xlgjdayMapper.selectYylcListByUid(param);
    }

    @Override
    @DS("master")
    public List<XlYylcDto> getYylcMonthlyListForPage(SearchByMonthParam param) {
        return xlgjdayMapper.selectYylcMonthlyListByUid(param);
    }

    @Override
    @DS("master")
    public List<BccyDto> getBccyListForPage(BccyParam param) {
        return xlgjdayMapper.selectBccyListByUid(param);
    }

    @Override
    @DS("master")
    public List<XlZzDto> getZzListForPage(XlZzParam param) {
        return xlgjdayMapper.selectZzListByUid(param);
    }

    @Override
    @DS("master")
    public List<XlDjgDto> getDjgListForPage(SearchByRqParam param) {
        return xlgjdayMapper.selectDjgListByUid(param);
    }

    @Override
    @DS("master")
    public List<XlPjsdDto> getPjsdListForPage(SearchByRqParam param) {
        return xlgjdayMapper.selectPjsdListByUid(param);
    }

    @Override
    @DS("master")
    public List<XlCsDto> getCsListForPage(SearchByRqParam param) {
        return xlgjdayMapper.selectCsListByUid(param);
    }

    @Override
    @DS("master")
    public List<XlgjdayDto> getGpsMonthListForPage(SearchByMonthParam param) {
        return xlgjdayMapper.selectGpsMonthListByUid(param);
    }

    @Override
    @DS("master")
    public List<XlgjdayDto> getFwspListForPage(SearchByRqParam param) {
        return xlgjdayMapper.selectFwspListByUid(param);
    }

    @Override
    @DS("master")
    public List<XlgjdayDto> getFwspMonthListForPage(SearchByMonthParam param) {
        return xlgjdayMapper.selectFwspMonthListByUid(param);
    }

    @Override
    @DS("master")
    public List<XlgjdayDto> getZaixianYuJingListForPage(SearchByRqParam param) {
        return xlgjdayMapper.selectZaixianYuJingListByUid(param);
    }

    @Override
    @DS("master")
    public List<XlgjdayDto> getPcYuJingListForPage(SearchByRqParam param) {
        return xlgjdayMapper.selectPcYuJingListByUid(param);
    }

    @Override
    @DS("master")
    public List<XlgjdayDto> getBcYuJingListForPage(SearchByRqParam param) {
        return xlgjdayMapper.selectBcYuJingListByUid(param);
    }

    @Override
    @DS("master")
    public List<SmbzdlDto> getSmbzdlYuJingListForPage(SearchByRqParam param) {
        return xlgjdayMapper.selectSmbzdlYuJingListByUid(param);
    }

    @Override
    @DS("third")
    public List<DjgYuJingDto> getDjgYuJingListForPage(SearchByRqParam param) {
        return xlgjdayMapper.selectDjgYuJingListByUid(param);
    }
}
